package com.kcht.itsed.mws.extendmodel.jpa.base;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;

import java.util.Date;

/**
 * 实体类 - 基类
 */
public abstract class BaseEntity extends IDEntity {
    private static final long serialVersionUID = 6183897744202200590L;
    @TableField(fill = FieldFill.INSERT,value = "CREATE_DATE")
    private Date createDate;// 创建日期
    @TableField("CREATE_USER")
    private String createUser;// 创建人
    @TableField(fill = FieldFill.INSERT_UPDATE,value = "MODIFY_DATE")
    private Date modifyDate;// 更新日期
    @TableField("MODIFY_USER")
    private String modifyUser;// 更新人

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getModifyUser() {
        return modifyUser;
    }

    public void setModifyUser(String modifyUser) {
        this.modifyUser = modifyUser;
    }
}